package com.kwok.rbac.application.common.security;

import com.kwok.rbac.application.entity.SystemUserToken;

public class SystemUserTokenThreadLocal {

	private static final ThreadLocal<SystemUserToken> threadLocal = new ThreadLocal<SystemUserToken>();

	public static void set(SystemUserToken token) {
		threadLocal.set(token);
	}

	public static SystemUserToken get() {
		return threadLocal.get();
	}

    public static void remove() {
		threadLocal.remove();
    }

}
